package com.example.sizediameter;

public class SizeEvaluator {
	public static double GetSize(double alpha,double beta,double lengtha)
	{		
		double tangensBeta = Math.tan((beta - 90)* Math.PI/180);
		double tangensAlpha =  Math.tan((90 - alpha)* Math.PI/180);
		
		double heightb = lengtha * (tangensBeta + tangensAlpha);
		
		return heightb;
	}

}
